<?php

//屏蔽错误
//error_reporting( 0 );
//引入操作类
require_once '../inc/medoo.php';
//引入数据库
require_once '../inc/conn.php';
//引入配置
require_once '../inc/config.php';
//查询
//$datas = $database->select(dbtable0, "*",[""=>$]);
//foreach($datas as $data)

// 获取传递
$z000=$_GET['id']; //网址参数
    //验证
    //echo "网址参数:".$z000." | ";

//删除数据
$datas = $database->delete(dbtable1, [  //<!-- +++++++++++++++修改+++++++++++++++ -->
  "w000" => $z000
]);
?>

<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title><?php  echo sysname; ?> <?php echo version; ?> - Powered by Y.Z.W</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<link rel="stylesheet" href="../inc/layui/css/layui.css" media="all">
</head>

<body>
<?php include("../inc/head.php"); ?>
  
<fieldset class="layui-elem-field layui-field-title" style="margin-top: 50px;">
  <legend><a href="admin.php">删除完成，点击返回</a></legend>
</fieldset>

<?php include("../inc/foot.php"); ?>

</body>
</html>